/*
*  Copyright 2020-2021 Li Fei
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.pengshun.modules.api.coal.result;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;

/**
* @description /
* @author lifei
* @date 2020-11-04
**/
@Data
@Entity
public class CoalMineResult implements Serializable {


    /** id */
    @Id
    private BigInteger mineMouthId;

    /** 煤矿名称*/
    private String mineMouthName;

    /** 状态*/
    private Integer status;

    /** 详细地址*/
    private String detailAddress;

    /** 图片*/
    private String image1;

    /**煤炭数量 */
    private BigInteger coalNum;

    /** 运输部数量 */
    private BigDecimal transportNum;

    /** 信息部数量*/
    private BigDecimal infoNum;

    /** 联系人 */
    private String linkman;

    /** 联系人电话 */
    private String linkmanPhone;


    private Integer level;

    public CoalMineResult() {
    }

    public CoalMineResult(BigInteger mineMouthId, String mineMouthName, Integer status, String detailAddress, String image1, BigInteger coalNum, BigDecimal transportNum, BigDecimal infoNum, String linkman, String linkmanPhone) {
        this.mineMouthId = mineMouthId;
        this.mineMouthName = mineMouthName;
        this.status = status;
        this.detailAddress = detailAddress;
        this.image1 = image1;
        this.coalNum = coalNum;
        this.transportNum = transportNum;
        this.infoNum = infoNum;
        this.linkman = linkman;
        this.linkmanPhone = linkmanPhone;
    }
}